In Oceana 3.4, the Web UI's implementation for estimated wait time was changed to account for agents that are logged in.
To import these changes

1. Open the webChat.js file.
2. Change the maxWaitTime variable to 600. This is required, as EWT is supposed to be in seconds, not minutes.
3. Copy the contents of the parseServiceMap function, and paste it into your copy.
4. Copy the updated log statements into your webChat.js file (optional, but recommended).

The criteria for offering chat are as follows:

* If the request does not return any metrics, chat is assumed to be available.
* If the estiamted wait time is between 0 (inclusive) and 600 seconds, and there are agents logged in for the requested service,
    chat is available.
* The chatbot does not count as an agent for the purposes of estimating wait time. If no agents are logged in, 
    then chat is not available, regardless of whether the chatbot is installed and configured.